package com.kgc.sbt.api;

import com.kgc.sbt.domain.Goods;
import com.kgc.sbt.domain.GoodsFroms;
import com.kgc.sbt.util.PageSupport;

import java.util.List;
import java.util.Set;

/**
 * Created on 2021-06-22.
 * <p>
 * Author: a123
 * <p>
 * Description: 展示商品业务接口
 */
public interface ShowSearchApi {

    /**
     * @author a123
     * @date 2021-06-22
     * @return
     * @description 展示商品
     */
    PageSupport<GoodsFroms> showGoods(Integer pageNo, Integer pageSize);

    /**
     * @author a123
     * @date 2021-06-22
     * @return
     * @description 根据商品名称模糊搜索
     */
    List<GoodsFroms> selectGoodsByName(String name);

    /**
     * @author a123
     * @date 2021-06-29
     * @return
     * @description null搜索时，展示最新的热词
     */
    List<GoodsFroms> selectHot(String name1);
}
